void setup(){ Serial.begin(9600); }

void loop() {
	int lectura;
	float voltaje;
	float temperaturaC;
	lectura = analogRead(0);  
	voltaje = lectura * 5.0 / 1024.0;
	Serial.print(voltaje); 
	Serial.println(" voltios");
	temperaturaC = (voltaje - 0.5) * 100 ;  
	Serial.print(temperaturaC); 
	Serial.println(" grados C");
 	delay(1000); 
}



